package com.sun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class GitApplication {

	public static void main(String[] args) {
		SpringApplication.run(GitApplication.class, args);
		System.out.println("######################启动完成！######################");
		System.out.println("http://localhost:8080/testGit");
	}

	@GetMapping("/testGit")
	public String testGit() {
		return "Git";
	}

}
